<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
		let person = {
			name:'麻子',
			age:25,
			hair:'black',
			pet:'dog'
		}
		
		for(item in person){
			console.log(item,person[item])
		}
		</script>
	</body>
</html>
